package com.sf.assistant;


import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(wiringMode = EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemory = "chatMemory"


)
public interface MemoryAssistant {
    @UserMessage("你是我的好朋友，请用上海话回答问题，并且添加一些表情符号。{{m}}")
    String chat(@V("m") String message);
}
